package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.ProjectVideo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectVideoRepository extends JpaRepository<ProjectVideo,String> {
    List<ProjectVideo> findByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);
    Integer deleteByProjectId(String projectId);
    Integer countByProjectIdAndDeleteFlag(String projectId,Integer deleteFlag);
}
